package com.zhoug.demo.common.designpattern;

/**
 * 单例模式
 *
 * @author: zhoug
 * @since: 2025-07-08
 */
public class LoginUserInfo {

   //1. 定义抽象产品

    //抽象产品：UI 组件基类
    interface ThemeComponent{
        void applyStyle();
    }

    //2.实现产品

    class DarkButton implements ThemeComponent{

        @Override
        public void applyStyle() {

        }
    }




}
